<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<button @click="test(2, $event)">click1</button>
			<button @click="test2()">click2</button>
		</div>
	</body>
</html>

<script type="text/javascript">
	new Vue({
		el: '#app',
		methods: {
			test(num,$event) {
				console.log($event);
			},
			
			test2() {
				console.log(event);
			}
		}
	})
</script>
